const app = getApp()
var common = require('../../utils/common.js')
Page({
    data: {
        name: "Tom",
        title: "我是一个标题",
        hooName: 'hoo 模板',
        fooName: 'foo 模板',
        msg: "我是模板"
    },
    onLoad: function (options) {
        console.log(app.globalData.name);
    },
    clickBtn: function () {
        debugger
        console.log("NUM =" + common.NUM);
        var sum = common.sum(1, 6);
        console.log("sum =" + sum);
    }
})